Optimal. Leaf size=356 \[ -\frac{6 f^2 (e+f x) \text{PolyLog}\left (3,-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^3}-\frac{6 f^2 (e+f x) \text{PolyLog}\left (3,-\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}\right )}{b d^3}+\frac{3 f (e+f x)^2 \text{PolyLog}\left (2,-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^2}+\frac{3 f (e+f x)^2 \text{PolyLog}\left (2,-\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}\right )}{b d^2}+\frac{6 f^3 \text{PolyLog}\left (4,-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^4}+\frac{6 f^3 \text{PolyLog}\left (4,-\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}\right )}{b d^4}+\frac{(e+f x)^3 \log \left (\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}+1\right )}{b d}+\frac{(e+f x)^3 \log \left (\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}+1\right )}{b d}-\frac{(e+f x)^4}{4 b f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.482998, antiderivative size = 356, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 6, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {5561, 2190, 2531, 6609, 2282, 6589} \[ -\frac{6 f^2 (e+f x) \text{PolyLog}\left (3,-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^3}-\frac{6 f^2 (e+f x) \text{PolyLog}\left (3,-\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}\right )}{b d^3}+\frac{3 f (e+f x)^2 \text{PolyLog}\left (2,-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^2}+\frac{3 f (e+f x)^2 \text{PolyLog}\left (2,-\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}\right )}{b d^2}+\frac{6 f^3 \text{PolyLog}\left (4,-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^4}+\frac{6 f^3 \text{PolyLog}\left (4,-\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}\right )}{b d^4}+\frac{(e+f x)^3 \log \left (\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}+1\right )}{b d}+\frac{(e+f x)^3 \log \left (\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}+1\right )}{b d}-\frac{(e+f x)^4}{4 b f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5561
Rule 2190
Rule 2531
Rule 6609
Rule 2282
Rule 6589
Rubi steps
\begin{align*} \int \frac{(e+f x)^3 \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx &=-\frac{(e+f x)^4}{4 b f}+\int \frac{e^{c+d x} (e+f x)^3}{a-\sqrt{a^2+b^2}+b e^{c+d x}} \, dx+\int \frac{e^{c+d x} (e+f x)^3}{a+\sqrt{a^2+b^2}+b e^{c+d x}} \, dx\\ &=-\frac{(e+f x)^4}{4 b f}+\frac{(e+f x)^3 \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d}+\frac{(e+f x)^3 \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d}-\frac{(3 f) \int (e+f x)^2 \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right ) \, dx}{b d}-\frac{(3 f) \int (e+f x)^2 \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right ) \, dx}{b d}\\ &=-\frac{(e+f x)^4}{4 b f}+\frac{(e+f x)^3 \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d}+\frac{(e+f x)^3 \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d}+\frac{3 f (e+f x)^2 \text{Li}_2\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^2}+\frac{3 f (e+f x)^2 \text{Li}_2\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d^2}-\frac{\left (6 f^2\right ) \int (e+f x) \text{Li}_2\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right ) \, dx}{b d^2}-\frac{\left (6 f^2\right ) \int (e+f x) \text{Li}_2\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right ) \, dx}{b d^2}\\ &=-\frac{(e+f x)^4}{4 b f}+\frac{(e+f x)^3 \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d}+\frac{(e+f x)^3 \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d}+\frac{3 f (e+f x)^2 \text{Li}_2\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^2}+\frac{3 f (e+f x)^2 \text{Li}_2\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d^2}-\frac{6 f^2 (e+f x) \text{Li}_3\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^3}-\frac{6 f^2 (e+f x) \text{Li}_3\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d^3}+\frac{\left (6 f^3\right ) \int \text{Li}_3\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right ) \, dx}{b d^3}+\frac{\left (6 f^3\right ) \int \text{Li}_3\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right ) \, dx}{b d^3}\\ &=-\frac{(e+f x)^4}{4 b f}+\frac{(e+f x)^3 \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d}+\frac{(e+f x)^3 \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d}+\frac{3 f (e+f x)^2 \text{Li}_2\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^2}+\frac{3 f (e+f x)^2 \text{Li}_2\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d^2}-\frac{6 f^2 (e+f x) \text{Li}_3\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^3}-\frac{6 f^2 (e+f x) \text{Li}_3\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d^3}+\frac{\left (6 f^3\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_3\left (\frac{b x}{-a+\sqrt{a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{b d^4}+\frac{\left (6 f^3\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_3\left (-\frac{b x}{a+\sqrt{a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{b d^4}\\ &=-\frac{(e+f x)^4}{4 b f}+\frac{(e+f x)^3 \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d}+\frac{(e+f x)^3 \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d}+\frac{3 f (e+f x)^2 \text{Li}_2\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^2}+\frac{3 f (e+f x)^2 \text{Li}_2\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d^2}-\frac{6 f^2 (e+f x) \text{Li}_3\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^3}-\frac{6 f^2 (e+f x) \text{Li}_3\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d^3}+\frac{6 f^3 \text{Li}_4\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{b d^4}+\frac{6 f^3 \text{Li}_4\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{b d^4}\\ \end{align*}
Mathematica [A] time = 0.149016, size = 329, normalized size = 0.92 \[ \frac{\frac{12 f \left (d^2 (e+f x)^2 \text{PolyLog}\left (2,\frac{b e^{c+d x}}{\sqrt{a^2+b^2}-a}\right )-2 d f (e+f x) \text{PolyLog}\left (3,\frac{b e^{c+d x}}{\sqrt{a^2+b^2}-a}\right )+2 f^2 \text{PolyLog}\left (4,\frac{b e^{c+d x}}{\sqrt{a^2+b^2}-a}\right )\right )}{d^4}+\frac{12 f \left (d^2 (e+f x)^2 \text{PolyLog}\left (2,-\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}\right )-2 d f (e+f x) \text{PolyLog}\left (3,-\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}\right )+2 f^2 \text{PolyLog}\left (4,-\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}\right )\right )}{d^4}+\frac{4 (e+f x)^3 \log \left (\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}+1\right )}{d}+\frac{4 (e+f x)^3 \log \left (\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}+1\right )}{d}-\frac{(e+f x)^4}{f}}{4 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.259, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( fx+e \right ) ^{3}\cosh \left ( dx+c \right ) }{a+b\sinh \left ( dx+c \right ) }}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{e^{3} \log \left (b \sinh \left (d x + c\right ) + a\right )}{b d} + \frac{f^{3} x^{4} + 4 \, e f^{2} x^{3} + 6 \, e^{2} f x^{2}}{4 \, b} - \int -\frac{2 \,{\left (b f^{3} x^{3} + 3 \, b e f^{2} x^{2} + 3 \, b e^{2} f x -{\left (a f^{3} x^{3} e^{c} + 3 \, a e f^{2} x^{2} e^{c} + 3 \, a e^{2} f x e^{c}\right )} e^{\left (d x\right )}\right )}}{b^{2} e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a b e^{\left (d x + c\right )} - b^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 2.47518, size = 2128, normalized size = 5.98 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (f x + e\right )}^{3} \cosh \left (d x + c\right )}{b \sinh \left (d x + c\right ) + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]